package com.wzdigit.wms.basic.domain.task;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wzdigit.framework.orm.model.BasicDomain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * wms定时调度任务处理表
 * </p>
 *
 * @author 
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_TASK_SCHEDULING_DEAL")
@KeySequence(value = "WMS_TASK_SCHEDULING_DEAL_SEQ", clazz = Integer.class)
public class TaskSchedulingDeal extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 调度处理ID
     */
    @TableId(value = "TASK_SCHEDULING_DEAL_ID", type = IdType.INPUT)
    private Integer taskSchedulingDealId;

    /**
     * 调度ID
     */
    @TableField("TASK_SCHEDULING_ID")
    private Integer taskSchedulingId;

    /**
     * 处理对象
     */
    @TableField("DEAL_CLASS")
    private String dealClass;

    /**
     * 处理函数
     */
    @TableField("DEAL_METHOD")
    private String dealMethod;

    /**
     * 处理入参
     */
    @TableField("DEAL_PARAM")
    private String dealParam;

    /**
     * 处理方式（0：内部反射）
     */
    @TableField("TYPE")
    private Integer type;
}
